package com.laolang.shop.modules.im.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * @author khlbat
 * @version 1.0
 * @date 2020/11/2 2:08
 */
@Data
@Configuration
@PropertySource(value = {"classpath:config.properties", "file:{shop.config.path}/config.perperties"}, ignoreResourceNotFound = true)
@ConfigurationProperties(prefix = ImProp.PREFIX)
public class ImProp {

    public static final String PREFIX = "im";

    private String baseUrl;
    private String sdkappid;
    private String identifier;
    private String userSig;
}
